const state = {
    claim: {}, // 案例
    claimList: [], // 理赔材料清单
    searchClaimList: [], // 查询的理赔材料清单
    intoTypeList: 'new' // new/edit
}

const mutations = {
    SETCLAIM: (state, claim) => {
        state.claim = claim
    },
    SETCLAIMLIST: (state, claimList) => {
        state.claimList = claimList
    },
    SETINTOTYPELIST: (state, intoTypeList) => {
        state.intoTypeList = intoTypeList
    },
    SETSEARCHCLAIMLIST: (state, searchClaimList) => {
        state.searchClaimList = searchClaimList
    }
}

const actions = {
}

export default {
    namespaced: true,
    state,
    mutations,
    actions
}
